#include "cor.h"

Cor::Cor()
{
    this->corR = 0;
    this->corG = 0;
    this->corB = 0;
}

Cor::Cor(unsigned char R,unsigned char G, unsigned char B)
{
    this->corR = R;
    this->corG = G;
    this->corB = B;
}

Cor::~Cor()
{
}

unsigned char Cor::getR()
{
    return this->corR;
}

unsigned char Cor::getG()
{
    return this->corG;
}

unsigned char Cor::getB()
{
    return this->corB;
}

void Cor::setR(unsigned char R)
{
    this->corR = R;
}

void Cor::setG(unsigned char G)
{
    this->corG = G;
}

void Cor::setB(unsigned char B)
{
    this->corB = B;
}

void Cor::setRGB(unsigned char R,unsigned char G, unsigned char B)
{
    this->corR = R;
    this->corG = G;
    this->corB = B;
}
